#ifndef BASEFORM_H
#define BASEFORM_H

#include <QWidget>

class MainForm;
class TableView;
class QSettings;

namespace Ui {
class baseForm;
}

class baseForm : public QWidget
{
    Q_OBJECT

public:
    Ui::baseForm *ui;
    explicit baseForm(QWidget *parent = nullptr);
    ~baseForm();

    MainForm *mainw;

    TableView *baseTable;
    void saveData();


private slots:


    void on_addPushButton_clicked();

    void on_delePushButton_clicked();

    void on_startButton_clicked();

    void on_ResetButton_clicked();

private:
    QSettings *settings    = nullptr;


private:
    void tableInit();

    void recData();

};

#endif // BASEFORM_H
